package araxy.blog.mapper;

import araxy.blog.entity.Article;
import araxy.blog.vo.ArticleInfoVo;
import araxy.blog.vo.ManagementVo;

import java.util.List;

public interface ArticlesMapper {
    Integer deleteByPrimaryKey(String id);

    Integer insert(Article record);

    Article selectByPrimaryKey(String id);

    List<Article> selectAll();

    Integer countAll();

    Integer maxOrderNo();

    List<ManagementVo> selectAllManagementVo();

    Integer updateByPrimaryKey(Article record);

   List<ArticleInfoVo> selectAllInfoVo();
}